@echo off
TITLE Windows Vista Event ID 4226 Auto Patcher Final
echo.
echo Windows Vista Concurrent TCP/IP Connection Attempt Limit Auto Patcher
echo Event ID 4226 Fix for 64-bit version of Windows Vista
echo and UAC Auto Disabler :)
echo.
echo Made by defcon http://securevista.net
echo.
echo.
echo Do you Want to Disable UAC?
echo.
echo Press Y to continue or Press Ctrl-C and answer Y to terminate
pause
echo Disabling UAC....
reg import uac_admin_off.reg
echo UAC Disabled.
echo Install TCP patch? Press Y to continue or Press Ctrl-C and answer Y to terminate
pause
takeown /f %Systemroot%\System32\drivers\
takeown /f %Systemroot%\System32\drivers\tcpip.sys
icacls %Systemroot%\System32\drivers\tcpip.sys /grant "%username%":f
echo y | cacls %Systemroot%\System32\drivers\tcpip.sys /g "%username%":f
netsh int tcp set global autotuninglevel=disable
bcdedit.exe -set loadoptions DDISABLE_INTEGRITY_CHECKS
copy %Systemroot%\system32\drivers\tcpip.sys %Systemroot%\system32\drivers\tcpip.original 
echo.
echo Original tcpip.sys driver has been renamed to "tcpip.original" in its original folder.
echo.
copy tcpip64.sys %Systemroot%\system32\drivers\tcpip.sys /y
reg import Vista_TCPIP_Limit_70000.reg
echo.
echo *** TCP/IP Connections are now at 70000
echo.
echo.
echo *** Save all work, will ask if you want to reboot to finish installation.
echo.
echo Reboot? Press Y to continue or Press Ctrl-C and answer Y to terminate
pause
shutdown /r
echo System is Now Rebooting, please wait...
